* {
  padding: 0;
  margin: 0;
}

body {
  background-color: #f5f5f8;
}

.container {
  width: 1004px;
  height: 1137px;
  margin: 15px auto 20px;
  background-color: #fff;
  display: flex;
  position: relative;
}

.container .categoryList {
  height: 100%;
  padding: 20px 0px 20px 20px;
  box-sizing: border-box;
  width: 178px;
}

.container .categoryList ul {
  list-style: none;
}

.container .categoryList ul li {
  cursor: pointer;
  font-size: 18px;
  position: relative;
  height: 40px;
  line-height: 40px;
  text-align: center;
  width: 100%;
  background-color: #f5f5f8;
  border-bottom: 1px solid #dfdfdf;
  color: #606060;
}

.container .categoryList ul .active {
  color: #E13430;
  background-color: #fff;
}

.container .categoryList ul .active::before {
  content: '';
  display: block;
  position: absolute;
  left: 0px;
  height: 40px;
  width: 0px;
  border-left: 6px solid #E13430;
}

.container .content-main {
  display: flex;
  flex-wrap: wrap;
  padding: 20px 0 0 40px;
  box-sizing: border-box;
  width: 824px;
  height: fit-content;
  align-content: flex-start;
}

.container .content-main .item {
  width: 160px;
  margin-right: 36px;
  margin-bottom: 30px;
  overflow: hidden;
}

.container .content-main .item:hover img {
  transform: scale(1.2);
}

.container .content-main .item .img {
  display: block;
  position: relative;
  width: 160px;
  height: 160px;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.container .content-main .item .img img {
  transition: all .6s;
  width: 160px;
  height: 160px;
}

.container .content-main .item .img .imgOverlay {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 32px;
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(60, 60, 60, 0)), to(#3D3D3D));
  background-image: linear-gradient(-180deg, rgba(60, 60, 60, 0) 0%, #3D3D3D 100%);
}

.container .content-main .item .img .imgOverlay i::before {
  display: block;
  font-size: 12px;
}

.container .content-main .item .img .layui-rate {
  margin-top: 6px;
  margin-left: 6px;
  padding-top: 0;
  padding-bottom: 0;
}

.container .content-main .item .img .layui-rate .layui-inline {
  width: 13px;
}

.container .content-main .item .img .layui-rate .layui-icon {
  margin-right: 0;
}

.container .content-main .item .img .layui-rate .layui-icon-rate::before {
  color: #fff;
}

.container .content-main .item .link {
  height: 21px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.container .content-main .item .link .channel-type {
  height: 21px;
  font-size: 10px;
  margin-right: 6px;
  padding: 3px;
  border-radius: 4px;
  color: #FF9800;
  border: 1px solid #FF9800;
  box-sizing: border-box;
}

.container .content-main .item .link .title {
  max-width: 115px;
}

.container .content-main .item .link span {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.container .content-main .item .intro {
  font-size: 12px;
  color: #606060;
  margin-bottom: 8px;
  line-height: 16px;
  height: 32px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
}

.container .content-main .item .playCount {
  display: flex;
  align-items: center;
  color: #999;
  height: 18px;
}

.container .content-main .item .playCount i {
  font-size: 16px;
}

.container .content-main .item .playCount span {
  margin-bottom: 2px;
  font-size: 12px;
  display: inline-block;
  margin-right: 2px;
  max-width: 60px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.container #page {
  position: absolute;
  right: 20px;
  bottom: 80px;
  font-size: 16px;
}

.container #page .layui-laypage-em {
  background-color: #E13430;
}

.container #page span, .container #page a {
  height: 33px;
  line-height: 33px;
  font-size: 16px;
  padding: 0px 8px;
  margin: 0 8px;
  border: 1px solid #CCCCCC;
  border-radius: 3px;
}
